package top.kaoshanji.p1ch04a;

/**
 * 代码清单-p1ch04a-051页a：优先级
 * author kaoshanji
 * ^_^
 * create time 2025/3/6 15:54
 */
public class Precedence {

    public static void main(String[] args) {

        int x = 1, y = 2, z = 3;
        int a = x + y - 2/2 + z;
        int b = x + (y - 2)/(2 + x);

        System.out.println("a = " + a);
        System.out.println("b = " + b);

    }

}
